export interface TableData {
    id: number;
    tableName: string;
    amount: number;//容量
    status: number; // 0: 空闲, 1: 已预定, 2: 使用中
    location: string;
    createTime?: string;
    customerName?: string; // 预定用户姓名
    customerPhone?: string; // 预定用户电话
}

export interface TableReservation {
    id: number;
    tableId: number;
    dishId: number;
    dishName: string;
    dishPrice: number;
    quantity: number;
    reservationTime: string;
    status: number; // 0: 待确认, 1: 已确认, 2: 已取消
    customerName?: string; // 预定用户姓名
    customerPhone?: string; // 预定用户电话
}

export interface DishData {
    id: number;
    name: string;
    type: string;
    price: number;
    desc: string;
    status: number;
} 